home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / p_man / cat3 / complib / dspev.z / dspev
Text File  |  1998-10-30  |  3KB  |  133 lines

  1.  
  2.  
  3.  
  4. DDDDSSSSPPPPEEEEVVVV((((3333FFFF))))                                                            DDDDSSSSPPPPEEEEVVVV((((3333FFFF))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      DSPEV - compute all the eigenvalues and, optionally, eigenvectors of a
  10.      real symmetric matrix A in packed storage
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      SUBROUTINE DSPEV( JOBZ, UPLO, N, AP, W, Z, LDZ, WORK, INFO )
  14.  
  15.          CHARACTER     JOBZ, UPLO
  16.  
  17.          INTEGER       INFO, LDZ, N
  18.  
  19.          DOUBLE        PRECISION AP( * ), W( * ), WORK( * ), Z( LDZ, * )
  20.  
  21. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  22.      DSPEV computes all the eigenvalues and, optionally, eigenvectors of a
  23.      real symmetric matrix A in packed storage.
  24.  
  25.  
  26. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  27.      JOBZ    (input) CHARACTER*1
  28.              = 'N':  Compute eigenvalues only;
  29.              = 'V':  Compute eigenvalues and eigenvectors.
  30.  
  31.      UPLO    (input) CHARACTER*1
  32.              = 'U':  Upper triangle of A is stored;
  33.              = 'L':  Lower triangle of A is stored.
  34.  
  35.      N       (input) INTEGER
  36.              The order of the matrix A.  N >= 0.
  37.  
  38.      AP      (input/output) DOUBLE PRECISION array, dimension (N*(N+1)/2)
  39.              On entry, the upper or lower triangle of the symmetric matrix A,
  40.              packed columnwise in a linear array.  The j-th column of A is
  41.              stored in the array AP as follows:  if UPLO = 'U', AP(i + (j-
  42.              1)*j/2) = A(i,j) for 1<=i<=j; if UPLO = 'L', AP(i + (j-1)*(2*n-
  43.              j)/2) = A(i,j) for j<=i<=n.
  44.  
  45.              On exit, AP is overwritten by values generated during the
  46.              reduction to tridiagonal form.  If UPLO = 'U', the diagonal and
  47.              first superdiagonal of the tridiagonal matrix T overwrite the
  48.              corresponding elements of A, and if UPLO = 'L', the diagonal and
  49.              first subdiagonal of T overwrite the corresponding elements of A.
  50.  
  51.      W       (output) DOUBLE PRECISION array, dimension (N)
  52.              If INFO = 0, the eigenvalues in ascending order.
  53.  
  54.      Z       (output) DOUBLE PRECISION array, dimension (LDZ, N)
  55.              If JOBZ = 'V', then if INFO = 0, Z contains the orthonormal
  56.              eigenvectors of the matrix A, with the i-th column of Z holding
  57.              the eigenvector associated with W(i).  If JOBZ = 'N', then Z is
  58.              not referenced.
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. DDDDSSSSPPPPEEEEVVVV((((3333FFFF))))                                                            DDDDSSSSPPPPEEEEVVVV((((3333FFFF))))
  71.  
  72.  
  73.  
  74.      LDZ     (input) INTEGER
  75.              The leading dimension of the array Z.  LDZ >= 1, and if JOBZ =
  76.              'V', LDZ >= max(1,N).
  77.  
  78.      WORK    (workspace) DOUBLE PRECISION array, dimension (3*N)
  79.  
  80.      INFO    (output) INTEGER
  81.              = 0:  successful exit.
  82.              < 0:  if INFO = -i, the i-th argument had an illegal value.
  83.              > 0:  if INFO = i, the algorithm failed to converge; i off-
  84.              diagonal elements of an intermediate tridiagonal form did not
  85.              converge to zero.
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.